/*
*   Handles the request type, and the id of the object
*   the request is for.
*
*/
#ifndef REQUEST_H
#define REQUEST_H

typedef struct request{
    int requestType;    //the type of request
    int objectID;       //the objects id that we are requesting

    void(*destruct)(struct request*);
}RequestStr;

typedef RequestStr* RequestPtr;

RequestPtr requestConstructor(int requestType, int objectID);
void requestDestructor(RequestPtr this);

#endif
